//
//  NSData+Base64.m
//  QCash
//
//  Created by 张葱 on 2019/4/23.
//  Copyright © 2019年 Qworks. All rights reserved.
//

#import "NSData+Base64.h"
#import "NSString+Base64.h"
@implementation NSData (Base64)
- (instancetype) initWithBase64EncodedString:(NSString *)base64String {
    return [self initWithBase64Encoding:[base64String stringPaddedForBase64]];
}
    
- (NSString *) base64EncodedString {
    return [self base64Encoding];
}
@end
